//
// Created by Zhangwj on 2023/9/27.
//

#include "CondNode.h"

std::unique_ptr<CondNode> CondNode::CondParser(Parser &parser) {
    // Cond → LOrExp
    std::unique_ptr<CondNode> condNode = std::make_unique<CondNode>();
    condNode->LOrExp = LOrExpNode::LOrExpParser(parser);
    return condNode;
}
